<?php
/* @var $this LogoAdminController */
/* @var $model Logo */

$this->breadcrumbs=array(
	'Logos'=>array('index'),
	$model->logo_id,
);

$this->menu=array(
	array('label'=>'Thêm mới', 'url'=>array('create')),
	array('label'=>'Sửa', 'url'=>array('update', 'id'=>$model->logo_id)),
	//array('label'=>'Xoá', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->logo_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Quản trị Logo', 'url'=>array('admin')),
);
?>

<h1>Chi tiết Logo (Mã: <?php echo $model->logo_id; ?>)</h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'logo_id',
        array(
            'name'=>'logo_image',
            'type'=>'raw',
            'value'=>CHtml::image(IMG_LOGO_FOLDER.$model->logo_image),
        ),
        array(
            'name'=>'logo_status',
            'type'=>'raw',
            'value'=>($model->logo_status)?"<input data-no-uniform=\"true\" checked type=\"checkbox\" class=\"iphone-toggle\" disabled=\"disabled\">":"<input data-no-uniform=\"true\" type=\"checkbox\" class=\"iphone-toggle\" disabled=\"disabled\">",
        ),
	),
)); ?>
